home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #11
/
Amiga Plus CD - 2004 - No. 11.iso
/
AmiSoft
/
Dev
/
misc
/
temgen.lha
/
Temgen
/
Amigamain
/
Example3
/
amigamain.h
< prev
next >
Wrap
C/C++ Source or Header
|
2004-06-26
|
841b
|
38 lines
#ifndef AMIGAMAIN_H
#define AMIGAMAIN_H
#include <exec/types.h>
#include <intuition/intuition.h>
#include <stdarg.h>
struct Config
{
/* true if libraries have successful been opened */
BOOL all_libraries_open;
/* true if application was started from Workbench */
BOOL start_from_wb;
/* reference window for EasyRequest */
struct Window *reqwin;
BOOL message_request;
BOOL message_output;
BOOL jingle;
STRPTR pubscreen;
LONG nr;
};
extern struct Config config;
extern struct LocaleInfo li;
LONG show_request( char *title, char *text, char *button, ... );
LONG show_request_args( char *title, char *text, char *button, va_list ap );
void vmessagef(char *format, va_list ap);
void messagef(char *format, ... );
void messagef_loc(LONG msgid, ...);
char *strcpy_malloc(const char *s );
#endif